$OpenBSD: patch-Imlib_save_c,v 1.1 2011/07/08 20:36:09 naddy Exp $

Fix build with png-1.5.

--- Imlib/save.c.orig	Mon Jul  4 17:34:49 2011
+++ Imlib/save.c	Mon Jul  4 17:35:06 2011
@@ -342,7 +342,7 @@ Imlib_save_image(ImlibData * id, ImlibImage * im, char
 	      png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
 	      return 0;
 	    }
-	  if (setjmp(png_ptr->jmpbuf))
+	  if (setjmp(png_jmpbuf(png_ptr)))
 	    {
 	      fclose(f);
 	      png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
